package com.boot_reggie.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

@Data
public class Comment implements Serializable {
    private static final long serialVersionUID = 1L;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long number;
    private Integer value;
    private String text;
    private String image;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;
}
